//
//  LBXLoggerRealServer.h
//  WebServerTools
//
//  Created by 夏利兵 on 2020/9/23.
//  Copyright © 2020 com.lbx. All rights reserved.
//

#import <Foundation/Foundation.h>





@interface LBXLoggerRealServer : NSObject

//默认 61234
@property (nonatomic, assign) UInt16 port;
@property (nonatomic, copy) NSString *errMsg;
@property (nonatomic, assign) BOOL published;


+ (instancetype)sharedManager;

- (BOOL)start;

- (void)stop;


+ (void)log:(NSString *)format, ...;

+ (void)logWithFile:(NSString*)fileName format:(NSString *)format, ... ;


- (BOOL)sendMessage:(NSString *)logMessage;

//获取浏览器打开地址
- (NSString*)visitUrl;

@end


